import 'package:flutter_changdian_football/api/env/env.dart';

class Api {

  ///
  /// BaseUrl
  ///
  static String baseUrl = Env.envConfig.baseUrl;

  /// 获取静态资源URL
  static const String getProtocol = '/api/other/getProtocol';
  /// 用户帮助问答列表
  static const String helpQuestion = '/api/other/helpQuestion';
  /// 文件上传接口
  static const String fileUpload = '/api/alioss/fileUpload';
  /// 用户意见反馈
  static const String userAdvice = '/api/other/userAdvice';
  /// 获取用户个人主页基本信息
  static const String selfCenter = '/api/user/userInfo/selfCenter';
  /// 获取用户自己的个人信息
  static const String selfDetail = '/api/user/userInfo/selfDetail';
  /// 新增用户球员信息或更新球员信息
  static const String playerInfo = '/api/user/userInfo/playerInfo';
  /// 比赛记录
  static const String userMatchRecords = '/api/match/matchLog/userMatchRecords';
  /// 历史比赛记录详情
  static const String historyMatchRecord = '/api/match/matchLog/historyMatchRecord';
  /// 余额
  static const String userAccountBalance = '/api/user/userAccount/userAccountBalance';
  /// 个人消费记录和充值记录
  static const String userAccountRecord = '/api/user/userAccount/userAccountRecord';
  /// 获取用户绑定的支付宝信息
  static const String getUserZfbInfo = '/api/user/userInfo/getUserZfbInfo';
  /// 获取支付配置信息
  static const String getPayProperties = '/api/ali/getPayProperties';
  /// 支付宝授权获取用户支付宝信息
  static const String zfbAuthorization = '/api/ali/zfbAuthorization';
  /// 支付宝提现到个人
  static const String zfbWithdraw = '/api/ali/zfbWithdraw';
  /// 支付宝支付（充值）
  static const String zfbPay = '/api/ali/zfbPay';
  /// 用户关注球员列表
  static const String getUserInterestList = '/api/user/userInterest/getUserInterestList';
  /// 用户消息通知设置 - 查看
  static const String getUserNotifySetting = '/api/other/getUserNotifySetting';
  /// 用户消息通知设置 - 设置
  static const String userNotifySet = '/api/other/userNotifySet';
  /// 检查更新
  static const String versionCheck = '/api/other/versionCheck';
  /// 注销账户
  static const String accountCancellation = '/api/other/accountCancellation';
  /// 退出登陆
  static const String logout = '/api/user/userLogin/logout';
  /// 获取登录验证码
  static const String sendVerificationCode = '/api/user/userLogin/sendVerificationCode';
  /// 验证码登录
  static const String loginByVerificationCode = '/api/user/userLogin/loginByVerificationCode';
  /// 用户详情查看接口
  static const String userDetail = '/api/user/userInfo/userDetail';
  /// 用户点赞或取消点赞球员
  static const String praiseOrCancelPraise = '/api/user/userInterest/praiseOrCancelPraise';
  /// 用户关注或取关球员
  static const String focusOrCancelFocus = '/api/user/userInterest/focusOrCancelFocus';
  /// 获取页面分享信息
  static const String getSharePage = '/api/other/getSharePage';
  /// 俱乐部 - 俱乐部切换 - 已加入的俱乐部列表
  static const String getJoinClubList = '/api/club/clubManage/getJoinClubList';
  /// 俱乐部主页
  static const String clubCenter = '/api/club/clubManage/clubCenter';
  /// 俱乐部动态信息分页查询
  static const String clubDynamic = '/api/club/clubManage/clubDynamic';
  /// 俱乐部成员列表
  static const String clubMemberList = '/api/club/clubMember/clubMemberList';
  /// 俱乐部-添加无故缺席标记
  static const absentMark = '/api/club/clubMember/absentMark';
  /// 俱乐部成员个人详情
  static const clubMemberDetail = '/api/club/clubMember/clubMemberDetail';
  /// 俱乐部最近比赛列表 - 返回俱乐部最近的三场比赛
  static const clubRecentMatch = '/api/match/matchLog/clubRecentMatch';
  /// 俱乐部球员列表-成员管理
  static const clubMemberAppoint = '/api/club/clubMember/clubMemberAppoint';
  /// 俱乐部财政当前余额
  static const currentBalance = '/api/club/clubManage/currentBalance';
  /// 俱乐部财政 - 资金记录
  static const financesRecords = '/api/club/clubManage/financesRecords';
  /// 俱乐部详情
  static const clubDetail = '/api/club/clubManage/clubDetail';
  /// 获取可选择的场地列表 场地选择列表
  static const courtList = '/api/court/courtList';
  /// 修改俱乐部
  static const updateClub = '/api/club/clubManage/updateClub';
  /// 获取俱乐部默认头像列表
  static const defaultClubAvatar = '/api/other/defaultClubAvatar';
  /// 俱乐部消息审核分页
  static const checkMessages = '/api/club/clubCheck/checkMessages';
  /// 加入俱乐部申请审核 - 拒绝
  static const checkReject = '/api/club/clubCheck/checkReject';
  /// 加入俱乐部申请审核 - 通过
  static const checkPass = '/api/club/clubCheck/checkPass';
  /// 设置俱乐部公告栏
  static const setClubBulletin = '/api/club/clubManage/setClubBulletin';
  /// 新增俱乐部
  static const addClub = '/api/club/clubManage/addClub';
  /// 俱乐部-用户俱乐部显示名回显接口
  static const displayName = '/api/club/clubMember/displayName';
  /// 俱乐部-设置用户的俱乐部内显示名称
  static const setPlayerClubDisplayName = '/api/club/clubMember/setPlayerClubDisplayName';
  /// 创建比赛
  static const createMatch = '/api/match/matchInfo/createMatch';
  /// 查询用户待开始和报名中的比赛数量
  static const getUserMatchNum = '/api/match/matchInfo/getUserMatchNum';
  /// 获取报名中比赛列表或待开始比赛列表
  static const getUserMatchInfo = '/api/match/matchInfo/getUserMatchInfo';
  /// 比赛详情
  static const matchDetail = '/api/match/matchInfo/matchDetail';
  /// 修改比赛时数据回显接口
  static const matchModifyData = '/api/match/matchInfo/matchModifyData';
  /// 修改俱乐部比赛
  static const modifyMatch = '/api/match/matchInfo/modifyMatch';
  /// 比赛报名
  static const signUp = '/api/match/matchInfo/signUp';
  /// 获取比赛场地费和用户余额
  static const matchSinUpFee = '/api/match/matchInfo/matchSinUpFee';
  /// 缴纳报名费
  static const paySignUpFee = '/api/match/matchInfo/paySignUpFee';
  /// 取消报名
  static const cancelSignUp = '/api/match/matchInfo/cancelSignUp';
  /// 首页基本数据信息 轮播图 功能栏图标 用户未读消息数
  static const indexPageBaseInfo = '/api/index/indexPageBaseInfo';
  /// 新闻列表
  static const newsList = '/api/other/newsList';
  /// 首页 - 新闻列表 - 新闻内容
  static const newsContent = '/api/other/newsContent';
  /// 设置用户手机deviceToken
  static const setDeviceToken = '/api/other/setDeviceToken';
  /// 名人堂功能接口
  static const userRankList = '/api/user/userInfo/userRankList';
  /// 首页-附近场地-本地球场-关键字查询球场
  static const nearbyCourts = '/api/court/nearbyCourts';
  /// 俱乐部排行
  static const clubRank = '/api/club/clubRank';
  /// 申请加入俱乐部
  static const joinApply = '/api/club/clubCheck/joinApply';
  /// 场地详情
  static const courtDetail = '/api/court/courtDetail';
  /// 切换俱乐部
  static const toggleDefaultClub = '/api/club/clubManage/toggleDefaultClub';
  /// 获取用户消息列表
  static const userMessageList = '/api/user/userMessage/userMessageList';
  /// 用户单条消息已读
  static const readMessage = '/api/user/userMessage/readMessage';
  /// 用户全部已读
  static const readAll = '/api/user/userMessage/readAll';
  /// 取消比赛
  static const cancelMatch = '/api/match/matchInfo/cancelMatch';
  /// 回显俱乐部公告栏内容
  static const getClubBulletin = '/api/club/clubManage/getClubBulletin';
  /// 俱乐部已完成的比赛记录
  static const clubMatchList = '/api/match/matchLog/clubMatchList';

}

